Freescale Semiconductor /MKL25Z4 /TPM2 /SC

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as SC

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (000)PS0 (00)CMOD 0 (0)CPWMS 0 (0)TOIE 0 (0)TOF 0 (0)DMA

CPWMS=0, CMOD=00, PS=000, TOF=0, DMA=0, TOIE=0

Description

Status and Control

Fields

PS

Prescale Factor Selection

0 (000): Divide by 1

1 (001): Divide by 2

2 (010): Divide by 4

3 (011): Divide by 8

4 (100): Divide by 16

5 (101): Divide by 32

6 (110): Divide by 64

7 (111): Divide by 128

CMOD

Clock Mode Selection

0 (00): LPTPM counter is disabled

1 (01): LPTPM counter increments on every LPTPM counter clock

2 (10): LPTPM counter increments on rising edge of LPTPM_EXTCLK synchronized to the LPTPM counter clock

CPWMS

Center-aligned PWM Select

0 (0): LPTPM counter operates in up counting mode.

1 (1): LPTPM counter operates in up-down counting mode.

TOIE

Timer Overflow Interrupt Enable

0 (0): Disable TOF interrupts. Use software polling or DMA request.

1 (1): Enable TOF interrupts. An interrupt is generated when TOF equals one.

TOF

Timer Overflow Flag

0 (0): LPTPM counter has not overflowed.

1 (1): LPTPM counter has overflowed.

DMA

DMA Enable

0 (0): Disables DMA transfers.

1 (1): Enables DMA transfers.

Links

() ()